package com.gusha.dao;

import java.math.BigInteger;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.gusha.model.SysAssets;
import com.gusha.model.SysMailing;
/**
 * -数据访问接口
 * @author ming
 *
 */
@Repository
public interface SysMailingDao extends JpaRepository<SysMailing,BigInteger>,JpaSpecificationExecutor<SysMailing>{

	List<SysMailing> findAllByAssetsId(SysAssets assets);
	
}